<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Step 3: Registering the Dameng Database">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001792550240.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
  <meta name="DC.Publisher" content="20240608">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000001792550200">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Step 3: Registering the Dameng Database</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000001792550200"></a><a name="EN-US_TOPIC_0000001792550200"></a>
  <h1 class="topictitle1">Step 3: Registering the Dameng Database</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle">Registering a Single-Server Dameng Database</h4>
    <ol>
     <li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000001792550200__en-us_topic_0000001839142377_uicontrol184094357368"><b><span id="EN-US_TOPIC_0000001792550200__en-us_topic_0000001839142377_text54096353367"><strong>Protection</strong></span> &gt; Databases &gt; Dameng</b></span>.</span></li>
     <li><span>Click <span class="uicontrol"><b><span><strong>Register</strong></span></b></span> to register the <span><strong>Dameng Single Server</strong></span> database.</span></li>
     <li><span>Set <span class="uicontrol"><b><span><strong>Type</strong></span></b></span> to <span class="uicontrol"><b><span><strong>Single Server</strong></span></b></span>.</span></li>
     <li><span>Configure database information.</span><p></p><p><a href="#EN-US_TOPIC_0000001792550200__en-us_topic_0000001311214069_table241515964115">Table 1</a> describes the related parameters.</p>
      <div class="tablenoborder">
       <a name="EN-US_TOPIC_0000001792550200__en-us_topic_0000001311214069_table241515964115"></a><a name="en-us_topic_0000001311214069_table241515964115"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001792550200__en-us_topic_0000001311214069_table241515964115" frame="border" border="1" rules="all">
        <caption>
         <b>Table 1 </b>Registration information of a single-server Dameng
        </caption>
        <colgroup>
         <col style="width:25.629999999999995%">
         <col style="width:74.37%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="25.629999999999995%" id="mcps1.3.1.2.4.2.2.2.3.1.1"><p>Parameter</p></th>
          <th align="left" class="cellrowborder" valign="top" width="74.37%" id="mcps1.3.1.2.4.2.2.2.3.1.2"><p>Description</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span><strong>Name</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>User-defined resource name.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span><strong>Hosts</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>Database host to be registered.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span><strong>Port</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>Listening port of the registered single-server database.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span><strong>Authentication Method</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p><span><strong>OS authentication</strong></span> and <span><strong>Database authentication</strong></span> can be selected.</p>
           <ul>
            <li><span><strong>OS authentication</strong></span>: authentication based on the OS.</li>
            <li><span><strong>Database authentication</strong></span>: authentication through the database administrator username and password.</li>
           </ul> <p>Log in to the database to query the database authentication mode and determine which authentication mode should be selected based on the query result. The query method is as follows:</p>
           <ol type="a">
            <li>Log in to the Dameng database.</li>
            <li>Run the <strong>select name, value from v$parameter where name = 'ENABLE_LOCAL_OSAUTH'</strong><strong>;</strong> command to check the parameter value of <strong>VALUE</strong>.
             <div class="p">
              <span><img src="en-us_image_0000001961215133.png"></span>
              <ul>
               <li>If the value is <strong>1</strong>, <strong>OS authentication</strong> is supported. The authentication mode can be <span class="uicontrol"><b>OS authentication</b></span> or <span class="uicontrol"><b>Database authentication</b></span>.</li>
               <li>If the value is <strong>0</strong>, <strong>OS authentication</strong> is not supported. Set the authentication mode to <span class="uicontrol"><b>Database authentication</b></span>.</li>
              </ul>
             </div></li>
           </ol></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span><strong>Database Username</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>Username for logging in to the currently registered database.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.1.2.4.2.2.2.3.1.1 "><p><span><strong>Database Password</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.37%" headers="mcps1.3.1.2.4.2.2.2.3.1.2 "><p>Password for logging in to the currently registered database.</p></td>
         </tr>
        </tbody>
       </table>
      </div> <p></p></li>
     <li><span>Click <span class="uicontrol"><b>OK</b></span>.</span></li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Registering the Dameng Cluster Database</h4>
    <ol>
     <li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000001792550200__en-us_topic_0000001839142377_uicontrol184094357368_1"><b><span id="EN-US_TOPIC_0000001792550200__en-us_topic_0000001839142377_text54096353367_1"><strong>Protection</strong></span> &gt; Databases &gt; Dameng</b></span>.</span></li>
     <li><span>Click <span class="uicontrol"><b><span><strong>Register</strong></span></b></span> to register the <span><strong>Dameng Cluster</strong></span> database.</span></li>
     <li><span>Set <span class="uicontrol"><b><span><strong>Type</strong></span></b></span> to <span class="uicontrol"><b>Active/standby MPP cluster</b></span>.</span><p></p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>In 1.5.0, set <strong>Type</strong> to <strong>MPP Cluster</strong>.</p>
       </div>
      </div> <p></p></li>
     <li><span>Customize a cluster name.</span></li>
     <li><span>Click <span><strong>Add</strong></span> to add all instances in the cluster.</span></li>
     <li><span>Click <span class="uicontrol"><b>OK</b></span>.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000001792550240.html">Backing Up Dameng</a>
    </div>
   </div>
  </div>
 </body>
</html>